{% extends 'base.html' %}
{% load static %}}
{% block title %}登录{% endblock %}
{% block css %}<link href="{% static 'css/login.css' %}" rel="stylesheet"/>{% endblock %}

{% block content %}
    <div class="container">
        <div class="col-md-4 col-md-offset-4">
            <form action="/update/" method="post" class="form-inline">
                <div class="form-group">
                    <label class="sr-only" for="exampleInputAmount">Amount (in dollars)</label>
                    <div class="input-group">
                        <div class="input-group-addon">$</div>
                        <input type="text" class="form-control" name="exampleInputAmount" placeholder="Amount">
                    </div>

                    <button type="submit" class="btn btn-primary">Transfer cash</button>
                </div>
            </form>

            <table class="table table-hover">
             <caption>Optional table caption.</caption>
                  <thead>
                    <tr>
                      <th>#</th>
                      <th>First Name</th>
                      <th>Last Name</th>
                      <th>Username</th>
                    </tr>
                  </thead>

                  <tbody>
                   {% for item in testinfos %}

                    <tr>
                      <th scope="row">item</th>
                      <td>{{ item.firstName }}</td>
                      <td>{{ item.LastName }}</td>
                      <td>{{ item.UserName }}<td>
                    </tr>

                  {% endfor %}
                  </tbody>
            </table>
        </div>
    </div> <!-- /container -->
{% endblock %}

